<?php

namespace app\api\model\intelligentlive;

use app\api\model\BaseModel;
use app\api\model\intelligentlive\Data;

class Account extends BaseModel
{
    protected $table = 'account';
    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';

    public function liveData()
    {
        return $this->hasOne(Data::class,"buyin_id","app_id");
    }
}
